-
Notifications
You must be signed in to change notification settings - Fork 1
Encode URL
Vali (naser) Rafinia edited this page Mar 27, 2023
·
3 revisions
nhash encode url is a sub-command of the nhash tool that allows users to perform URL encoding and decoding.
nhash encode url <text> [options]-
<text>: The text to be encoded or decoded.
-
-d, --decode: If this option is provided, the command will decode the text instead of encoding it. -
-o, --output <output>: Write the output to a file instead of printing it on the console. -
-?, -h, --help: Show help and usage information.
nhash encode url "Hello World!"Output:
Hello%20World%21
nhash encode url -d "Hello%20World%21"Output:
Hello World!
nhash encode url "Hello World!" --output output.txtThis will write the output to a file named output.txt instead of printing it on the console.