Created
February 6, 2022 13:50
-
-
Save elderica/1a3f6e96013dd25b4b3c5175f3206c0c to your computer and use it in GitHub Desktop.
This file contains 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
#lang racket/base | |
(require [only-in file/sha1 bytes->hex-string]) | |
(define hex (bytes->hex-string (sha256-bytes #"FREEMAN"))) | |
(define part-of-key | |
(list->string (map (lambda (i) (string-ref hex i)) | |
(list 4 5 3 6 2 7 1 8)))) | |
(displayln (string-append "picoCTF{1n_7h3_|<3y_of_" part-of-key "}")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment