# from cryptography.fernet import Fernet

# import gestionestudio_api.settings as cfg

# def encrypt(text: bytes):
#     fer=Fernet(cfg.ENCRYPTION_KEY)
#     msg=fer.encrypt(text)
#     return msg
    
# def decrypt(text: bytes):
#     fer=Fernet(cfg.ENCRYPTION_KEY)
#     msg=fer.decrypt(text)
#     return msg