Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 126
Registered: ‎06-25-2013
My Device: Z10
My Carrier: none
Accepted Solution

SHA 256 encryption

Hi,

 

   I need to do a sha256 encryption for the password field. I will have 2 parameters text ant salt. I didn't find any sample for the same. Has anyone tried this ? Please help me in this context.

 

Regards,

Sanjeev

Developer
Posts: 713
Registered: ‎05-31-2010
My Device: 8520
My Carrier: Movistar

Re: SHA 256 encryption

Developer
Posts: 366
Registered: ‎07-15-2013
My Device: blackberry Z10
My Carrier: Personal

Re: SHA 256 encryption

Do not know if this will be useful for you

https://developer.blackberry.com/native/reference/bb10/crypto_libref/topic/hu_sha256begin.html

encrypted beware that this severely punished BFB

If you find this information useful please click like --->
@mezeitune on twitter
Developer
Posts: 126
Registered: ‎06-25-2013
My Device: Z10
My Carrier: none

Re: SHA 256 encryption

This sample does only hashing (I think ) .
Any simple method for hashing and encrypting like we can do in bb7 (in java) for bb10 .
Developer
Posts: 713
Registered: ‎05-31-2010
My Device: 8520
My Carrier: Movistar

Re: SHA 256 encryption

Well, you asked for SHA25. This is a hashing algoritm only.

However tehere is a CryptoLibrary. Please check

http://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.crypto/topic/c_sb_ug_overview....