nekomata_saren@tg says to YSITD然後B讀取 msg = decrypt(priv_B, crypt) hash = verify(pub_A, sig) assert hash === md5(msg) msg === "你有priv_b嗎" B -> A sig = sign(priv_B, md5("我有priv_b喔")) crypt = encrypt(pub_B, "我有priv_b喔") A讀取 msg = decrypt(priv_A, crypt) hash = verify(pub_B, sig) assert hash === md5(msg) msg === "我有priv_b喔"at Thu, Oct 25, 2018 12:13 AM