Security

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

Component for encryption and decryption


Properties

You can set the below properties in the UI part of the builder.

  • AesKey - it's a text value which is set to blank by default.
  • IV - it's a string value which is set to blank by default.
  • RsaPrivateKey - it's a string value which is set to blank by default.
  • RsaPublicKey - it's a string value which is set to blank by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

AesKey

Returns AES key


IV

Returns IV of AES encrypt method


RsaPrivateKey

Returns RSA private key


RsaPublicKey

Returns RSA public key



Methods

You can set the below method blocks in the blocks section of the builder.

AesDecrypt

Decrypts AES encrypted text

AesEncrypt

Encrypts AES encrypted text

BASE64Decode

Decodes BASE64 encrypted text

BASE64Encode

Encodes BASE64 encrypted text

GenerateAesKey

Generates AES key

GenerateRsaKeyPair

Generates RSA key pair and then "OnRsaKeyPairGenerated" event gets invokes

MD5hash

Generates MD5 hash

RSADecrypt

Decrypts RSA encrypted with private key

RSAEncrypt

Encrypt with RSA public key

SHA256

Generates Sha256 hash

Sha1

Generates Sha1 hash


Events

You can set the below event blocks in the blocks section of the builder.

OnErrorOccurred

Invoked when error occurred

OnRsaKeyPairGenerated

Invoked when RSA Key Pair generated