summaryrefslogtreecommitdiffstats
path: root/lib/str.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: add PrintableAscii, AsciiScoressiddharth2021-06-191-0/+27
| | | | Extracted from challenge 19
* lib: add ByteToUpperrsiddharth2021-03-061-5/+9
|
* lib: add StrHasrsiddharth2021-01-301-0/+10
|
* lib: update StripSpaceCharsrsiddharth2021-01-301-0/+3
| | | | strip 'NUL' character too.
* lib: stripSpaceChars -> StripSpaceCharsrsiddharth2021-01-301-1/+1
|
* lib: add StrToUpperrsiddharth2021-01-271-0/+12
|
* lib/str: add StrSplitAtrsiddharth2020-12-201-0/+17
|
* lib/str: add NumToStrrsiddharth2020-12-201-0/+9
|
* lib/str: add NumToCharrsiddharth2020-12-201-0/+8
|
* lib: str: add BytesToStrrsiddharth2020-11-221-0/+8
|
* lib: str: add StrToBytesrsiddharth2020-11-221-0/+8
|
* lib: AlphaScore -> AlphaPunchScorersiddharth2020-09-061-1/+1
| | | | | * lib/str.go (AlphaScore): Rename to... (AlphaPunchScore): ...this.
* lib: isAlpha -> isAlphaPunchrsiddharth2020-09-061-2/+3
| | | | | | * lib/str.go (isAlpha): Rename to... (isAlphaPunch): ...this. (AlphaScore): change isAlpha call to isAlphaPunch call.
* lib: update isAlpharsiddharth2020-09-061-0/+6
| | | | * lib/str.go (isAlpha): Add common punctuation.
* lib: add FillBytesrsiddharth2020-09-061-0/+11
| | | | * lib/str.go (FillBytes): New function.
* lib: add AlphaScorersiddharth2020-09-051-0/+10
| | | | * lib/str.go (AlphaScore): New function.
* lib: add isAlpharsiddharth2020-09-051-0/+10
| | | | * lib/str.go (isAlpha): New function.
* lib: move around stripSpaceCharsrsiddharth2020-09-051-0/+15
| | | | | * lib/b64.go (stripSpaceChars): Move to... * lib/str.go (stripSpaceChars): ...here.
* challenge: do challenge 3rsiddharth2020-08-291-0/+15
* challenge/c03.go: Implement challenge 3 * cryptopals.go (main): Add handling to run challenge 3 * lib/brute.go (XORCrackSingleKey): New function. * lib/hex.go (HexStrToAsciiStr, ByteToHexStr): New functions. * lib/str.go (FillStr): New function.