wood burning stoves 2.0*
The moose likes Security and the fly likes SHA Encryption System Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "SHA Encryption System" Watch "SHA Encryption System" New topic
Author

SHA Encryption System

java dummy
Greenhorn

Joined: Apr 18, 2010
Posts: 2
Hello, everyone

is there anyone can help me with my project??I'm developing a SHA Encryption System using java. But, I'm facing problems on how to develop it...

I need helps...

The system will show SHA Encryption steps by steps...
it's a little bit like what is show in this address: http://people.eku.edu/styere/Encrypt/JS-SHA1.html

can anyone help me??PLEASE!!!This is very urgent!!
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3013
    
  35

"java dummy", please check your private messages regarding an important administrative matter.
You may also find something interesting in HowToAskQuestionsOnJavaRanch, including EaseUp


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
SHA is not a cipher -which is used for reversible (or two-way) encryption-, it's a hash or digest, and is used for irreversible, or one-way, encryption. If you ever want to get back the original cleartext then you need to use a cipher such as Triple-DES or AES. The Java API for that is called JCE; you'll find more details and examples in the SecurityFaq.


Ping & DNS - my free Android networking tools app
java dummy
Greenhorn

Joined: Apr 18, 2010
Posts: 2
I know sha is a 1 way hash function.but, i need to show it step by step on how to encrypt the data using sha algorithm.
can someone help me??please please please
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3013
    
  35

"java dummy", please understand that it is mandatory to follow the instructions of the private message which I sent to you.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
Start with the "How do I work with message digests?" article in the FAQ page I mentioned. Note that one shouldn't use SHA-1 any more, but SHA-2 instead (in the shape of SHA-256, SHA-384 or SHA-512).
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

[hijack removed]


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SHA Encryption System
 
Similar Threads
encrypt password on login form?
problem preverify the class file
Encrypting/Decrypting passwords using sha or md5
Cipher Suite Interpretation
Password Encryption: Rationale and Java