Skip to content

Allow __init__ without iv? #25

@parke

Description

@parke

I'm creating an AES cipher instance that I will use repeatedly, calling .set_iv() before each encryption session.

Yet the tomcrypt.cipher.aes.init raises an error if I do not provide an iv.

The iv is not needed until encrypt time. Do you really want init to raise an error if no iv is provided? (Maybe you do.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions