Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephenodrom committed Apr 8, 2021
1 parent f763207 commit cc76bee
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/src/CryptoUtils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,15 @@ class CryptoUtils {
/// The default [algorithm] used is **SHA-1/ECDSA**. All supported algorihms are :
///
/// * SHA-1/ECDSA
/// * SHA-224/ECDSA
/// * SHA-256/ECDSA
/// * SHA-384/ECDSA
/// * SHA-512/ECDSA
/// * SHA-1/DET-ECDSA
/// * SHA-224/DET-ECDSA
/// * SHA-256/DET-ECDSA
/// * SHA-384/DET-ECDSA
/// * SHA-512/DET-ECDSA
///
static ECSignature ecSign(ECPrivateKey privateKey, Uint8List dataToSign,
{String algorithmName = 'SHA-1/ECDSA'}) {
Expand All @@ -753,7 +761,15 @@ class CryptoUtils {
/// The default [algorithm] used is **SHA-1/ECDSA**. All supported algorihms are :
///
/// * SHA-1/ECDSA
/// * SHA-224/ECDSA
/// * SHA-256/ECDSA
/// * SHA-384/ECDSA
/// * SHA-512/ECDSA
/// * SHA-1/DET-ECDSA
/// * SHA-224/DET-ECDSA
/// * SHA-256/DET-ECDSA
/// * SHA-384/DET-ECDSA
/// * SHA-512/DET-ECDSA
///
static bool ecVerify(
ECPublicKey publicKey, Uint8List signedData, ECSignature signature,
Expand Down

0 comments on commit cc76bee

Please sign in to comment.