SHA256
cripto utils
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
edwardsToMontgomeryPriv,
|
||||
edwardsToMontgomeryPub,
|
||||
x25519,
|
||||
} from 'https://esm.sh/@noble/curves@1.5.0/ed25519';
|
||||
} from '../vendor/noble/curves-ed25519-1.5.0.bundle.mjs';
|
||||
|
||||
const PAIRING_ENVELOPE_PREFIX = 'shine-esp-pairing-v1:';
|
||||
const PAIRING_HASH_PREFIX = 'sha256$';
|
||||
|
||||
Reference in New Issue
Block a user