Skip to content

Instantly share code, notes, and snippets.

Avatar

Andreas Schmidt ndrscodes

  • HFO Technology GmbH
  • Oberkotzau, DE
  • Twitter @ndrscodes
View GitHub Profile
@ndrscodes
ndrscodes / obfuscate.sh
Created Jul 29, 2021
Creates an obfuscated version of any string you pass to it. The result is wrapped inside a randomly named function that you can call in order to retrieve the original string. You can pass the --readable (-r) flag as the first argument in order to get a more readable version of the function. If multible words are passed (which are not passed as a…
View obfuscate.sh
#!/bin/bash
# Copyright 2021 ndrscodes (Andreas Schmidt)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#