ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to store Password in a file by using efficient algorithm other than ROT by N?

"I saw 'ROT by N' algorithm by Mike. Still i want an efficient and high security algorithm for storing data in a file. Thanks in Advance"
0 Kudos
Message 1 of 4
(3,429 Views)
An algorithm I generally use converts each character to its ASCII code, then inverts the ASCII code bitwise and finally converts the ASCII code back to a character.

I don't know how secure the algorithm is considered.
If needed, it would be very easy to add a constant or even computed value (eg offset of character in the string...) to each ASCII code to increase the security level.
Message 2 of 4
(3,429 Views)
Hi;

Two techniques are: hashing and encryption. Without knowing requirements, my first inclination is usually hashing. Because of the nature of hashing, you may need to take a closer look at the recovery procedures.

Check out my tools for data protection at www.visecurity.com/cryptg.shtml

Also, check alternatives to passwords: www.biometricsview.com

Regards;
Enrique Vargas
www.visecurity.com
www.vartortech.com
Message 3 of 4
(3,429 Views)
Thanks JB. The algorithm is very simple. I can modify this to my secure application.

Ramkumar. D
0 Kudos
Message 4 of 4
(3,429 Views)