[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-04 Thread shop . service . assistant
An example the shows what libs to import, exactly what methods to call to encrypt a "Hello World" String, Print out the Ascii String, then decrypt the encrypted String, print it out. Examples that demonstrate the DES encryption etc. Unfortunately this is not intuitive for me and ask for your

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-03 Thread Shai Almog
The examples are only blocks and hence complete. I'm not sure what sort of example you would expect? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-03 Thread shop . service . assistant
I don't see any complete examples. If there are lots of people using it, how can I get to se people and ask for sample usages. My challenge is the examples I have tried do not link generally use java classes not supported in codename1. Can you please point me to complete code samples?

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-02 Thread Shai Almog
Lots of people use this library but because it's so versatile everyone uses it differently. I'm unclear on what doesn't work for you? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-02 Thread shop . service . assistant
Not much luck, example after example does no compile for one method not being supported in Cosenameone or another. Is there not anyone in a codenameone user group that uses this library and can share some working code? Regards. On Saturday, September 2, 2017 at 2:02:57 AM UTC-4, Shai Almog

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-02 Thread Shai Almog
The bouncy castle libs are based on the old J2ME version of bouncy castle. You can probably google the encryption you want and J2ME to find code samples. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-09-01 Thread shop . service . assistant
Sorry, This is not helpful. I have looked at the examples @ http://www.bouncycastle.org/documentation.html However several Classes they use are not found in the BouncyCastleCN1Lib therefore won't link Can someone point me to complete code examples that will encrypt/decrypt MD5 that compiles

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-08-31 Thread Shai Almog
This uses SHA1 for encoding: https://stackoverflow.com/questions/38673149/how-to-hash-data-with-custom-key-using-sha1digest-algorithm-in-codenameone/38680719#38680719 You can probably replace SHA1 with MD5Digest to get the same result for MD5. There are several classes with PBE too but this

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-08-31 Thread shop . service . assistant
OK, I am hardly an expert on encryption, so please forgive my ignorance. I want to encrypt/decrypt a String like password etc. In my Swing application I use org.jasypt.encryption.pbe.StandardPBEStringEncryptor Ideally I would like to use a compatible cypher in codename1. - Algorithm:

[codenameone-discussions] Re: Examples to Encrypt / decrypt Strings like passwords

2017-08-29 Thread Shai Almog
It's related to storage in Storage. Bouncy castle has a HUGE API for encryption of various types so this is a bit vague. You need to be more specific on the encryption type. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To