Skip to content

Run Time error #6

Description

@krishnasen2401

Encrypting: 4600 / 4608
Traceback (most recent call last):
File "C:\Users\krishnasen\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\krishnasen\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "ImageEncryptor_main
.py", line 30, in
image_crypt.encrypt_image(args.encrypt, args.keys[0], args.keys[1], args.output)
File "ImageEncryptor\image_crypt.py", line 34, in encrypt_image
two_key_encryption(im_arr, x_size, y_size, key1, key2)
File "ImageEncryptor\image_crypt.py", line 77, in two_key_encryption
permut = utils.two_kdp(size, k1, k2)
File "ImageEncryptor\utils.py", line 33, in two_kdp
C[i] = int(p)
TypeError: 'range' object does not support item assignment

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