Skip to content

Latest commit

 

History

History
88 lines (71 loc) · 2.56 KB

README-en.md

File metadata and controls

88 lines (71 loc) · 2.56 KB

Crypto

Encapsulate multiple CTFs and common encryption and encoding C# libraries

In my blog, I've written about the introduction and analysis of various types of encryption and functions in the class library.标签: Crypto | 时光

中文

Supported encoding and encryption

DecryptEncrypt

  • Salt (randomly generated)
  • 32/16-bit MD5
  • XOR(Optional return value is Base64)
  • Caesar encryption
  • Rot13
  • Bacon password
  • Fence password
  • Virginia password
  • AES(128-bit ECB、CBC)
  • Sha1、Sha256
  • CRC32

code

  • Base64/32/16
  • Morse(Only supports alphanumeric now)
  • url
  • ASCII,Unicode and string convert to each other
  • String to Unicode encoding in decimal format(xss->&#120&#115&#115)
  • Hexadecimal ASCII string to string
  • Original code to Inverse code and Complement code

Conversion

  • Arbitrary conversion(Supports up to 62 binary conversions,support array,does not support decimals and negative number now)
  • Arbitrary four-order operation (based on int decimal, so its value can not be more than int range in decimal operation)

CryptoFileInfo

  • Get file md5
  • Get file Sha1
  • Get file Sha256
  • (FileInfo)Get file name, extension, size, creation time last access and write time, attribute

Cryptofile

  • Reverse file to new file
  • File to byte array or string
  • Byte array or string written to file
  • Temporary file operation(CryptoFileInfo support)

CryptoString

  • Generate a random string
  • Reverse string
  • Decimal digit string convert to the int value
  • String, byte array and stream convert to each other
  • Regular match returns an array of results
  • Regular match and replace
  • Commonly used strings, regular expressions

CryptoZip

  • Compressed file fake encryption

JSFUCK

  • jsfuck decode

Todo

Virginia Key Crack http://www.practicalcryptography.com/cryptanalysis/stochastic-searching/cryptanalysis-vigenere-cipher/

about

My Blog

LICENSE

Apache