Skip to content

Invalid return type for randombytes_random and randombytes_uniform #86

@ionspin

Description

@ionspin

Signature for randombytes_random and randombytes_uniform is uint32 in libsodium:

uint32_t randombytes_random(void)

uint32_t randombytes_uniform(const uint32_t upper_bound)

but in lazysodium it's byte

    public native byte randombytes_random();

    public native byte randombytes_uniform(int upperBound);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions