public static function importEncryptionKey(HiddenString $keyData): EncryptionKey
    {
        return new EncryptionKey(
            new HiddenString(
                self::getKeyDataFromString(
                    Hex::decode($keyData->getString())
                )
            )
        );
    }
public static function importEncryptionKey(HiddenString $keyData): EncryptionKey
    {
        return new EncryptionKey(
            new HiddenString(
                self::getKeyDataFromString(
                    Hex::decode($keyData->getString())
                )
            )
        );
    }
public static function importEncryptionKey ( HiddenString $ keyData ) : EncryptionKey { return new EncryptionKey ( new HiddenString ( self :: getKeyDataFromString ( Hex :: decode ( $ keyData -> getString ( ) ) ) ) ) ; }
Load a symmetric encryption key from a string

@param HiddenString $keyData
@return EncryptionKey

@throws InvalidKey
@throws \TypeError
Load a symmetric encryption key from a string