refactor(adb): further split sync module

This commit is contained in:
Simon Chan 2020-09-28 01:48:33 +08:00
parent 65e0ba042e
commit d887639efd
18 changed files with 482 additions and 419 deletions

View file

@ -257,7 +257,7 @@ export function sign(privateKey: ArrayBuffer, data: ArrayBuffer): ArrayBuffer {
const fillLength = padded.length - Sha1DigestInfo.length - data.byteLength - 1;
while (index < fillLength) {
padded[index] = 0xff;
index++;
index += 1;
}
padded[index] = 0;