Skip to content

'bytes' object has no attribute 'encode' #6

@DewNohMad

Description

@DewNohMad

The line: gest = f.read(hashlib.sha1().digest_size).encode('hex')
is causing an error "bytes object has no attribute encode" when I ran the python script with the sample key.

Please assist. Thanks

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