mirror of
https://github.com/djhackersdev/minime.git
synced 2026-04-24 15:37:12 -05:00
Remove test logging statement
I think we can be reasonably confident that the RSA calculations yield the correct answer at this point.
This commit is contained in:
parent
a30c37a794
commit
b4b09ba2c4
|
|
@ -26,14 +26,6 @@ const key = {
|
|||
// Proof-of-concept, so we only use one fixed session key
|
||||
const sessionKey = 0xffddeeccbbaa99887766554433221100n;
|
||||
|
||||
// -- TEST --
|
||||
const test1 = modPow(sessionKey, key.e, key.N);
|
||||
const test2 = modPow(test1, key.d, key.N);
|
||||
|
||||
console.log("RSA ENC :", byteString(test1, 0x40).toString("hex"));
|
||||
console.log("RSA ENCDEC :", byteString(test2, 0x40).toString("hex"));
|
||||
// -- TEST --
|
||||
|
||||
interface Session {
|
||||
input: AsyncIterable<Request> & {
|
||||
end: () => void;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user