Initial commit

This commit is contained in:
Smaug123
2023-02-04 19:55:38 +00:00
commit ef9c792e64
29 changed files with 71565 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
namespace CipherSuite.Test
[<RequireQualifiedAccess>]
module String =
let stripNonAlpha (s : string) =
s.ToCharArray ()
|> Array.choose (fun c ->
let c = System.Char.ToUpper c
let shifted = int c - 65
if shifted >= 0 && shifted < 26 then Some c else None
)
|> System.String