def box_curve25519salsa20hmacsha512_keypair(): sk = randombytes(32) pk = smult_curve25519_base(sk) return (pk, sk)
def box_curve25519xsalsa20poly1305_keypair(): sk = randombytes(32) pk = smult_curve25519_base(sk) return (pk, sk)