File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SHA Encryption System

 
java dummy
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4116
195
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"java dummy", please check your private messages regarding an important administrative matter.
You may also find something interesting in HowToAskQuestionsOnJavaRanch, including EaseUp
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4116
195
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"java dummy", please understand that it is mandatory to follow the instructions of the private message which I sent to you.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Pie
Posts: 1222
10
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[hijack removed]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic