Skip to content

[Feature Request] Add API support for getting the intial 128bit key used by AES #43

@jeffreysijuntan

Description

@jeffreysijuntan

In CrypTen, we would need multiple parties to share the same source of randomness. In seed based generators, this is done by parties sharing the same seed. In a crypto-secure RNG, this would require obtaining the initial 128 bit key passed to the AES.

It would be helpful to have an API to retrieve the 128-bit key:

urandom_gen = csprng.create_random_device_generator('/dev/urandom')
initial_key = urandom_gen.get_aes_key()
gen2 = csprng.create_random_device_generator()
gen2.set_aes_key(intial_key)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions