MD5 Encryption password required

20 views
Skip to first unread message

romanca...@gmail.com

unread,
Sep 1, 2018, 9:09:04 AM9/1/18
to CodenameOne Discussions
hi shail!

have you a simple sample to encryt / decrypt strings to use as password, specifically in md5?

i already installed the bouncy-castle library, but i dont figure how to implement it. 

thanks


If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Shai Almog

unread,
Sep 1, 2018, 11:23:47 PM9/1/18
to CodenameOne Discussions
Hi,
I haven't tried this but I'm guessing you can take the code here: https://stackoverflow.com/questions/37042161/generate-sha1-hash-function-in-codename-one
And effectively just change SHA1Digest to MD5Digest.
Reply all
Reply to author
Forward
0 new messages