Skip to content

Commit

Permalink
- Manual instantiation of SHA providers for FIPS compliance
Browse files Browse the repository at this point in the history
 - Added .ionide folder to gitignore
  • Loading branch information
piaste committed Dec 13, 2018
1 parent 01416ba commit 1604611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -194,4 +194,5 @@ docs/content/core/northwindEF.db
/tests/SqlProvider.Tests/scripts/NorthwindFBD3.sql
/src/scripts/Script1.fsx
/tests/**/dataTemp/
/tests/**/connectorTemp/
/tests/**/connectorTemp/
.ionide/
4 changes: 2 additions & 2 deletions src/SQLProvider/Utils.fs
Expand Up @@ -583,6 +583,6 @@ module Bytes =
use sha = algo ()
sha.ComputeHash ms

let sha1 = hash (fun () -> SHA1.Create())
let sha1 = hash (fun () -> new SHA1CryptoServiceProvider())

let sha256 = hash (fun () -> SHA256.Create())
let sha256 = hash (fun () -> new SHA256CryptoServiceProvider())

0 comments on commit 1604611

Please sign in to comment.