Step-by-step guide to transfer and set up an old GPG key (for Git commit signing) on a new machine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function xorCipher($string, $key) { | |
| $keyLength = strlen($key); | |
| $result = ''; | |
| for ($i = 0; $i < strlen($string); $i++) { | |
| $char = $string[$i]; | |
| $keyChar = $key[$i % $keyLength]; | |
| $result .= chr(ord($char) ^ ord($keyChar)); |
- Upgrade to Enterprise edition of Windows 10/11 if you are running Home or Pro.
- You can do this through the Change Edition option in the Extras menu in MAS.
- Open the Group Policy Editor. Search for "Edit Group Policy" in search or run
gpedit.msc.