Skip to content

Commit

Permalink
* Generate RSA KeyPairs and import to pem format.
Browse files Browse the repository at this point in the history
* Supports AES. CBC、CFB-8、CFB-128、ECB、OFB-128、CTR.
  • Loading branch information
meetleev committed Sep 22, 2022
1 parent 97f25af commit 9580309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/crypto_bytes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ class CryptoBytes {
class CipherIV extends CryptoBytes {
CipherIV(super.bytes);

/// Creates an IV object from a Base64 string.
/// Creates an CipherIV object from a Base64 string.
CipherIV.fromBase64(String base64) : super(convert.base64.decode(base64));

/// Creates an IV object from a UTF-8 string.
/// Creates an CipherIV object from a UTF-8 string.
CipherIV.fromUTF8(String input)
: super(Uint8List.fromList(convert.utf8.encode(input)));

Expand Down

0 comments on commit 9580309

Please sign in to comment.