-
Hi,
during a pentest of a Bottlepy based application, I've noticed that when using signed cookies, `cookie_decode` is being called:
``` .python
def cookie_decode(data, key, digestmod=None):
""…
-
We could have a "signing GUI" to sign an ISO with your key. Potentially this could also allow configuring which OS keys (if any) are trusted for ISO signatures, which integrates nicely with Restricte…
-
Digest can be partially evaluated, which presents several gotchas.
I had some simple code using cryptonite to get a hash:
```
md5 :: L.ByteString -> Digest MD5
md5 = hashLazy
md5hasher :: L.ByteStr…
joeyh updated
8 years ago
-
### Discussed in https://github.com/orgs/langfuse/discussions/2104
## Description
We need to implement the same sampling logic in our TypeScript SDK that is currently used in our Python SDK. This …
-
How should a multihash implementation handle a call where the digest is longer than the specified output of that hash function? E.g. (pseudocode)
``` javascript
// The provided digest is 26 bytes lo…
-
A new API has landed in Node.js that's extremely ergonomic for one-off quick hashes:
```js
crypto.hash('sha256', 'some-string')
```
instead of:
```js
crypto.createHash('sha256').update('so…
-
According to https://crates.io/crates/digest/reverse_dependencies this crate uses [digest](https://crates.io/crates/digest) crate.
Would it be possible to implement `digest::DynDigest` trait so t…
raspi updated
2 years ago
-
Java Code:
public String decrypt(String encryptedText) throws Exception {
try {
byte[] decryptedTextBytes = null;
byte[] encryptedTextBytes = Base64.decode…
-
```
format_sha1_hash allocates a char array SHA_DIGEST_LENGTH*3 bytes in length,
and proceeds to append SHA_DIGEST_LENGTH 3-byte strings to it in a loop using
sprintf. sprintf will always NUL-termi…
-
Hello.
I want to add implementation of Belarussian cryptography.
First I want to add digest algorithms ([bash](http://apmi.bsu.by/assets/files/std/bash-spec24.pdf) and [belt-hash](http://apmi.bsu…