from credentials cimport Credentials cdef class Security: @staticmethod cdef bytes encrypt_to(bytes input_bytes, str key) @staticmethod cdef bytes decrypt_to(bytes input_bytes, str key) @staticmethod cdef str get_hw_hash(str hardware) @staticmethod cdef str get_api_encryption_key(Credentials credentials, str hardware_hash) @staticmethod cdef str get_resource_encryption_key() @staticmethod cdef str calc_hash(str key)