Creates a new HOTP secret value.
New-SystoLockHotpSecret [-Count <UInt32>] [[-Size] <UInt32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The New-SystoLockHotpSecret cmdlet creates a new HOTP secret value.
New-SystoLockHotpSecret
Creates a single secret with a default size of 20 bytes.
New-SystoLockHotpSecret -Size 32
Creates a single secret with a custom size of 32 bytes.
New-SystoLockHotpSecret -Size 64 -Count 10
Creates several secrets with a custom size of 64 bytes.
Specifies number of secrets to create (default: 1).
Type: UInt32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies secret size in bytes (range: 16 - 64, default: 20).
Type: UInt32
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: 20
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This cmdlet does not accept any pipeline input.
Represents the token secret value.
Input samples
-Secret 0x15, 0xD0, 0x8A, 0x40, 0x83, ...
-Secret CXIIUQEDJ4DMCHKPVA4FNNZO4KEX5726
-Secret FdCKQINPBsEdT6g4Vrcu4ol+/14=
-Secret 15D08A40834F06C11D4FA83856B72EE2897EFF5E
-Secret 'B32:CXIIUQEDJ4DMCHKPVA4FNNZO4KEX5726'
-Secret 'BASE32:CXIIUQEDJ4DMCHKPVA4FNNZO4KEX5726'
-Secret 'B64:FdCKQINPBsEdT6g4Vrcu4ol+/14='
-Secret 'BASE64:FdCKQINPBsEdT6g4Vrcu4ol+/14='
-Secret 'HEX:15D08A40834F06C11D4FA83856B72EE2897EFF5E'