Setting PIN
Last updated
Was this helpful?
Last updated
Was this helpful?
Collect PIN from user
Encrypt PIN using RSA encryption with PKCS1_v1_5 cipher
Get public key from
Create a cipher using the public key and and the PKCS1 v1.5 signature
Encode the PIN string as Bytes with UTF-8
Encrypt the byte string with the cipher key
Encode the encrypted encrypted pin with Base64