Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

ring write the same example using normal for loop the Encrypt() and Decrypt() functions.

See "Enter a string : " give cStr

cKey=""                         # 16 bytes
for x = 0 to 15
        cKey += char(x)
next

cIV = ""
for x = 1 to 16
        cIV += char(x)
next


cStr = Encrypt(cStr,cKey,cIV,"aes128")
See "Cipher Text    : " + cStr + nl +
    "Plain Text     : " + Decrypt(cStr,cKey,cIV,"aes128") + nl
Comment

PREVIOUS NEXT
Code Example
Python :: ring define private attributes and methods 
Python :: localizar la fila y columna de un dato pandas 
Python :: update specific field in index in elastic using python 
Python :: plotly scatter add annotation / text 
Python :: for loop the string from reverse order and skipping last element in string python 
Python :: ring Type Hints Library user types 
Python :: check string on substring godot 
Python :: Sum of diagonal elements of a matrix python without numpy 
Python :: StandardScaler sklearn get params normalization 
Python :: dateentry python centered 
Python :: module not imorting idle 
Python :: vreverse all elemetns of a list in place python 
Python :: python getpass save file 
Python :: How to play audio in background 
Python :: placeholder in model form 
Python :: ConversionofDatatypes-I 
Python :: python print string in red color 
Python :: python how to dump exception stak 
Python :: convert int to binary python 
Python :: mod trong python 
Python :: seaborn heatmap spearman correlation coefficient 
Python :: identifying strings python 
Python :: python turn list of strings into list of doubles 
Python :: python find first char index from a string stackoverflow 
Python :: assertionerror and buffererror are derived from which built-in python class 
Python :: manipulation 
Python :: how to connect smartphone camera to opencv python 
Python :: set focus in last position entry tkinter 
Python :: Python Tkinter Label Widget Syntax 
Python :: Adding a new nested object in the list using a Deep copy in Python 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =