Skip to content

RSA method defaults on keys? #20

@mikeboers

Description

@mikeboers

Should we store the default hash/saltlen for signing/encryption on the rsa.Key itself?

E.g.:

key = tomcrypt.rsa.Key(1024, sign_hash='sha256')
key.sign(content) # Will use `sha256`.

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