DECRYPT Example


Example:

 

MyKey

INIT

"123ABC"

MyDefault

INIT

"Encrypt using the default key"

MyData

INIT

"Encrypt using my key"

.

 

 

  

ENCRYPT

MyDefault

  

ENCRYPT

MyData USING MyKey

.

 

 

  

DECRYPT

MyDefault

  

DECRYPT

MyData USING MyKey

 

This example program illustrates text encryption and decryption using both the default and a user-supplied key.

 



PL/B Language Reference DECR Examples DEFINE Examples