/encrypt.rb (786aa250fb4993e75c6cd9de3f90f31d83489ff0) (175 bytes) (mode 100644) (type blob)
key = "n3k0 ny4n".split //
flag = "FLAG{oops,my_dark_history_was_restored}".split //
[key, flag].map{|a| a.map! &:ord}
p flag.map.with_index{|c, i| c ^ key[i % key.length]}
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
175 |
786aa250fb4993e75c6cd9de3f90f31d83489ff0 |
encrypt.rb |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/narusejun0919/my_encryptor
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/narusejun0919/my_encryptor
Clone this repository using git:
git clone git://git.rocketgit.com/user/narusejun0919/my_encryptor
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main