Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: AES_example shaun_larada Smartage
Fork of Crypto by
StreamCipher.h
00001 #ifndef STREAM_CIPHER_H 00002 #define STREAM_CIPHER_H 00003 00004 #include "Cipher.h" 00005 00006 class StreamCipher : public Cipher 00007 { 00008 public : 00009 00010 StreamCipher(); 00011 00012 virtual CIPHER_TYPE getType() const; 00013 00014 virtual void encrypt(uint8_t *out, uint8_t *in, uint32_t length); 00015 virtual void decrypt(uint8_t *out, uint8_t *in, uint32_t length); 00016 00017 protected : 00018 00019 virtual uint8_t encryptByte(uint8_t in) = 0; 00020 virtual uint8_t decryptByte(uint8_t in) = 0; 00021 00022 }; 00023 00024 #endif
Generated on Mon Jul 18 2022 02:59:39 by
1.7.2
