
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
aws-md5-of-message-attributes
Advanced tools
Compute the MD5 hash of AWS SQS Message Attributes
npm i aws-md5-of-message-attributes
const { md5OfMessageAttributes } = require("aws-md5-of-message-attributes");
const simpleAttribute = { attribName1: { DataType: "String", StringValue: "attribValue 1" } };
md5OfMessageAttributes(simpleAttribute); // 19e27d4e946b072f3f58da80d94fd778
const withCustomAttributeType = { customNumberTypeAttrib: { DataType: "Number.float", StringValue: "4563442423554324324264524243.32543234" } };
md5OfMessageAttributes(withCustomAttributeType); // 9fe1b90bbd9965bdf77bac517c7d2495
const binaryAttribute = { binaryAttribute: { DataType: "Binary", BinaryValue: Buffer.from("Hello binary world!").toString("base64") } };
md5OfMessageAttributes(binaryAttribute); // 31a92b15d92f8db860eda32aceb656c3
const multipleAttributes = {
attribName1: { DataType: "String", StringValue: "attribValue 1" },
customNumberTypeAttrib: { DataType: "Number.float", StringValue: "4563442423554324324264524243.32543234" },
binaryAttribute: { DataType: "Binary", BinaryValue: Buffer.from("Hello binary world!").toString("base64") },
};
md5OfMessageAttributes(multipleAttributes); // c932db14a896c663f83c260297d594ff
Resources:
FAQs
Compute the MD5 hash of AWS SQS Message Attributes
We found that aws-md5-of-message-attributes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.