Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
| enum Suit {} | |
| enum Rank: Int {} | |
| // In the example, let's say the Card is CustomStringConvertible so I can leverage all the external code | |
| // that prints stuff, and depends on using the var description | |
| struct Card : CustomStringConvertible { | |
| var rank: Rank | |
| var suit: Suit | |
| var description : String { |