< Back
New-EncryptedStringKey
Post
NAME New-EncryptedStringKey
SYNOPSIS
Generates a new encryption key for use with a SecureString
SYNTAX
New-EncryptedStringKey [[-KeyLength] <Int32>] [-UseRandomNumberGenerator] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-KeyLength <Int32>
The length of the key in bits 128,196, or 256
Required? false
Position? 1
Default value 128
Accept pipeline input? false
Accept wildcard characters? false
-UseRandomNumberGenerator [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String
RELATED LINKS
SYNOPSIS
Generates a new encryption key for use with a SecureString
SYNTAX
New-EncryptedStringKey [[-KeyLength] <Int32>] [-UseRandomNumberGenerator] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-KeyLength <Int32>
The length of the key in bits 128,196, or 256
Required? false
Position? 1
Default value 128
Accept pipeline input? false
Accept wildcard characters? false
-UseRandomNumberGenerator [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String
RELATED LINKS