pygeek_stellar/utils/cryptography.py
def encrypt(content, password):
    """
    Method to encrypt the given content based on the specified password.
    :param bytearray content: Content to be encrypted.
    :param str password: Encryption password.
    :return: Returns a byte array with the encrypted content.
    :rtype: bytearray
    """
    f = Fernet(password2cryptographic_key(password))
    return f.encrypt(content)

    Method to encrypt the given content based on the specified password.
    :param bytearray content: Content to be encrypted.
    :param str password: Encryption password.
    :return: Returns a byte array with the encrypted content.
    :rtype: bytearray
    
Method to encrypt the given content based on the specified password.
Method to encrypt the given content based on the specified password .
def encrypt(content, password):
    f = Fernet(password2cryptographic_key(password))
    return f.encrypt(content)
def encrypt ( content , password ) : f = Fernet ( password2cryptographic_key ( password ) ) return f . encrypt ( content )
Method to encrypt the given content based on the specified password.
Method to encrypt the given content based on the specified password .
"""
    Method to encrypt the given content based on the specified password.
    :param bytearray content: Content to be encrypted.
    :param str password: Encryption password.
    :return: Returns a byte array with the encrypted content.
    :rtype: bytearray
    """
Returns a byte array with the encrypted content.
Returns a byte array with the encrypted content .
bytearray
content
Content to be encrypted.
Content to be encrypted .
password
None