public static function importEncryptionSecretKey(HiddenString $keyData): EncryptionSecretKey
    {
        return new EncryptionSecretKey(
            new HiddenString(
                self::getKeyDataFromString(
                    Hex::decode($keyData->getString())
                )
            )
        );
    }
public static function importEncryptionSecretKey(HiddenString $keyData): EncryptionSecretKey
    {
        return new EncryptionSecretKey(
            new HiddenString(
                self::getKeyDataFromString(
                    Hex::decode($keyData->getString())
                )
            )
        );
    }
public static function importEncryptionSecretKey ( HiddenString $ keyData ) : EncryptionSecretKey { return new EncryptionSecretKey ( new HiddenString ( self :: getKeyDataFromString ( Hex :: decode ( $ keyData -> getString ( ) ) ) ) ) ; }
Load, specifically, an encryption secret key from a string

@param HiddenString $keyData
@return EncryptionSecretKey

@throws InvalidKey
@throws \TypeError
Load specifically an encryption secret key from a string