fix(mypy): type annotations for cipher algorithms (#4306)

* fix(mypy): type annotations for cipher algorithms

* Update mypy workflow to include cipher directory

* fix: mypy errors in hill_cipher.py

* fix build errors
This commit is contained in:
Dhruv Manilawala
2021-04-04 10:52:12 +05:30
committed by GitHub
parent 806b3864c3
commit 60895366c0
21 changed files with 207 additions and 210 deletions

View File

@ -13,7 +13,7 @@ import math
import random
def rsafactor(d: int, e: int, N: int) -> [int]:
def rsafactor(d: int, e: int, N: int) -> list[int]:
"""
This function returns the factors of N, where p*q=N
Return: [p, q]