- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for HMac (0.02 sec)
-
cmd/sftp-server.go
// This is based on RFC 4253, section 6.4, but with hmac-md5 variants removed // because they have reached the end of their useful life. // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=85 var supportedMACs = []string{ "hmac******@****.***", "hmac******@****.***", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha1", "hmac-sha1-96", }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
internal/jwt/parser.go
import ( "bytes" "crypto" "crypto/hmac" "encoding/base64" "errors" "fmt" "hash" "sync" "time" "github.com/buger/jsonparser" "github.com/dustin/go-humanize" jwtgo "github.com/golang-jwt/jwt/v4" jsoniter "github.com/json-iterator/go" ) // SigningMethodHMAC - Implements the HMAC-SHA family of signing methods signing methods
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
internal/kms/secret-key.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package kms import ( "context" "crypto/aes" "crypto/cipher" "crypto/hmac" "encoding/base64" "encoding/json" "errors" "strconv" "strings" "sync/atomic" "github.com/secure-io/sio-go/sioutil" "golang.org/x/crypto/chacha20" "golang.org/x/crypto/chacha20poly1305"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
expected map[string]string }{ { metadata: map[string]string{ "Authorization": "AWS4-HMAC-SHA256 <cred_string>", "X-Amz-Content-Sha256": "", "Content-Encoding": "", }, expected: map[string]string{ "Authorization": "AWS4-HMAC-SHA256 <cred_string>", "X-Amz-Content-Sha256": "", "Content-Encoding": "", }, }, {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/signature-v4-utils.go
} if _, ok := claims[policy.SessionPolicyName]; ok { owner = false } return cred, owner, ErrNone } // sumHMAC calculate hmac between two input byte array. func sumHMAC(key []byte, data []byte) []byte { hash := hmac.New(sha256.New, key) hash.Write(data) return hash.Sum(nil) } // extractSignedHeaders extract signed headers from Authorization header
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
&& !method.getName().equals("concatenating") // don't test Hashing.concatenating() && !method.getName().equals("goodFastHash") // tested in testGoodFastHashEquals && !method.getName().startsWith("hmac")) { // skip hmac functions Object[] params1 = new Object[method.getParameterTypes().length]; Object[] params2 = new Object[method.getParameterTypes().length]; for (int i = 0; i < params1.length; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
cmd/encryption-v1.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bufio" "bytes" "context" "crypto/hmac" "crypto/rand" "crypto/subtle" "encoding/binary" "encoding/hex" "errors" "fmt" "io" "net/http" "path" "strconv" "strings" "github.com/minio/kms-go/kes"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:06:08 UTC 2024 - 37.2K bytes - Viewed (0) -
cmd/test-utils_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "archive/zip" "bufio" "bytes" "context" "crypto/ecdsa" "crypto/hmac" crand "crypto/rand" "crypto/rsa" "crypto/sha1" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "encoding/base64" "encoding/hex" "encoding/pem" "encoding/xml" "errors" "flag" "fmt"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the * MD5 (128 hash bits) hash function and the given secret key. * * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other * future-proof algorithms <a * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>. * * @param key the secret key
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
internal/kms/kes.go
} // MAC generates the checksum of the given req.Message using the key // with the req.Name at the KMS. func (c *kesConn) MAC(ctx context.Context, req *MACRequest) ([]byte, error) { mac, err := c.client.HMAC(context.Background(), req.Name, req.Message) if err != nil { if errors.Is(err, kes.ErrKeyNotFound) { return nil, ErrKeyNotFound } if errors.Is(err, kes.ErrNotAllowed) { return nil, ErrPermission }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0)