You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm including the code in MMbasic which is a modern Basic environment that runs on the Raspberry Pi Pico. I'd like to include an acknowledgement for the author in the manual. Please could you let me have a name I could include
Thanks
MATH AES128 ENCRYPT/DECRYPT CBC/ECB/CTR key$/key(), in$/in(), out$/out() [,iv$/iv()] This command encrypts or decrypts the data in in and puts the answer in out using the AES128 encryption method specified The parameters can each be either a string, integer array, or float array with any mix possible The key must be 16 elements long (16*8=128bits) in and out must be a multiple of 16 elements long. In the case of out being specified as a string (e.g. out$), the string variable must exist and should be set to empty (DIM out$="") The maximum number of elements in in and out is 256 when defined as arrays or 128 if one or other is defined as a string For CBC and CTR versions you can optionally specify an initiallisation vector iv. iv must be 16 elements long (16*8=128bits)
The text was updated successfully, but these errors were encountered:
Hi
I'm including the code in MMbasic which is a modern Basic environment that runs on the Raspberry Pi Pico. I'd like to include an acknowledgement for the author in the manual. Please could you let me have a name I could include
Thanks
MATH AES128 ENCRYPT/DECRYPT CBC/ECB/CTR key$/key(), in$/in(), out$/out() [,iv$/iv()] This command encrypts or decrypts the data in in and puts the answer in out using the AES128 encryption method specified The parameters can each be either a string, integer array, or float array with any mix possible The key must be 16 elements long (16*8=128bits) in and out must be a multiple of 16 elements long. In the case of out being specified as a string (e.g. out$), the string variable must exist and should be set to empty (DIM out$="") The maximum number of elements in in and out is 256 when defined as arrays or 128 if one or other is defined as a string For CBC and CTR versions you can optionally specify an initiallisation vector iv. iv must be 16 elements long (16*8=128bits)
The text was updated successfully, but these errors were encountered: