< Back

ConvertTo-PlainText

Sat Jan 18, 2020 9:39 am

NAME ConvertTo-PlainText



SYNOPSIS

Returns plain text from cipher text.





SYNTAX

ConvertTo-PlainText [-CipherText] <Int64> [<CommonParameters>]





DESCRIPTION

The ConvertTo-CipherText takes plain text and returns cipher text. To reverse cipher text this

function is used.





PARAMETERS

-CipherText <Int64>

For instance, the plain text value of 'BOB' has a cipher text value of 10410 (This repo converts

text to Hexavigesimal values times 10).



Required? true

Position? 2

Default value 0

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



NOTES





Due to the simplicity of this demonstration ciphertext that start with 'A' will fail in this

function.



This function follows referenced alphabet_encode in alphabet-encode-python repo:

https://github.com/isaaguilar/alphabet- ... _cipher.py



-------------------------- EXAMPLE 1 --------------------------



C:\\>ConvertTo-PlainText 10410



C:\\> BOB











RELATED LINKS