refactor: removed useless logs

This commit is contained in:
Savely Savianok
2025-02-26 00:21:30 +03:00
parent 3c8c804fc3
commit cebe95acf5
5 changed files with 4 additions and 15 deletions

View File

@@ -16,7 +16,6 @@ export function getHOTP(counter, secret, digits = 6, hashType = 'SHA-1'){
rawDataCounter.setUint32(4, counter)
const bCounter = new Uint8Array(rawDataCounter.buffer)
console.log(bCounter)
const bSecret = new Uint8Array(decode(secret).match(/.{1,2}/g).map(chunk => parseInt(chunk, 16))); //confirmed
//Stage 2: Hash data