encoder.m decoder.m

Simple and instructive implementation of symmetric-key encryption and decryption.
406 descargas
Actualizado 3 feb 2017

Ver licencia

Tristan Ursell
Encoder - dual level
Jan 2017
Includes two functions -- an encoder and decoder which together form a private symmetric key encryption system, with message-length masking.
[enc_message,key]=encoder(raw_message);
[enc_message,key]=encoder(raw_message,key);
[enc_message,key,msg_length]=encoder(raw_message,key);
'raw_message' is the original message in ASCII text to be encoded.

'key'** is an integer or char-integer less than 2^32 that will be used as
random number generator seed and serves as the cipher key. If no key is
provided, the script will generate one automatically using the current
time stamp.

** - must be the same between encoder and decoder

Citar como

Tristan Ursell (2024). encoder.m decoder.m (https://www.mathworks.com/matlabcentral/fileexchange/61435-encoder-m-decoder-m), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Encryption / Cryptography en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0