Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Image: ubuntu2004
ASCII Pad Functions
Description. This is a procedure for converting ordinary text (plaintext) to padded ASCII number. It takes as input a sentence written between " and ", it pads each character one after another, and returns the padded characters as a list. It 'pads' by adding 100 to each list item.
Example. Convert the plaintext "Bob, your public key is not secure!" into an ASCII number. Then depad the resulting number.
The function isASCIIPadded returns a true false value on whether a given number represents a plaintext.
Example. The function isASCIIPadded is applied to the number 177201215215197203201. It returns "true" value. Next, function isASCIIPadded is applied to the number 177201215215197203701. It returns "false" value.