aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 3266
    
  52

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


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42908
    
  68
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.
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: 3266
    
  52

"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: 42908
    
  68
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: 928

[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