PIN (De)Coder

Version 1.4   30 November 2016

Summary

The PIN (De)Coder widget encrypts and decrypts four-digit PIN numbers.

Description

The PIN (De)Coder widget provides a simple means of encrypting and decrypting four-digit PIN numbers.

A master KEY must be chosen and remembered. This can be any non-zero four-digit hexadecimal number, using the digits 0 to 9 and A to F, although it is better to avoid use of zero digits.

The master KEY should be entered into the upper text area. The PIN number to be encrypted (or decrypted) should be entered into the middle text area and the RETURN key should then be pressed. The encrypted (or decrypted) PIN number is displayed in the lower text area.

The encrypted PIN numbers can be written down and are reasonably safe providing the master KEY is kept secret. However, if a PIN number and the corresponding encrypted PIN number become known, the master KEY can be calculated.

The algorithm is simple, so that, if need be, the decryption can be done manually, or on a pocket calculator. The master KEY and the PIN number are both treated as sixteen bit numbers (each hexadecimal digit contributing four bits). The two sixteen bit number are XORed and the resulting number converted to a four digit hexadecimal number.

License

PIN (De)Coder - Encrypts and decrypts four-digit PIN numbers
Copyright © 2004-2016 Harry Whitfield

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Credits

Safe Icon by Dean Beedell
mailto:dean.beedell@lightquick.co.uk

Widget Concept, Coding and Documentation

This program and associated documentation are Copyright 2004-2016 Harry Whitfield.
mailto:g6auc@arrl.net

Harry Whitfield (G6AUC)