Skip to content

Instantly share code, notes, and snippets.

View kranthisai's full-sized avatar

Kranthi kranthisai

View GitHub Profile
@brettscott
brettscott / aes-256-cbc-test.js
Last active March 25, 2024 03:44
AES 256 CBC encryption between Golang and Node JS
// Node v6.9.0
//
// TEST FILE (cut down for simplicity)
// To ensure Golang encrypted string can be decrypted in NodeJS.
//
let crypto;
try {
crypto = require('crypto');
#!/bin/sh
# This script prepare AwaLWM2M tools and start AWALWM2M client, which connects to CreatorDev Device Server.
# Client is already configured for Prj5_HeatingController project.
# PREREQUISITES:
# Go to https://docs.creatordev.io/ci40/guides/creating-applications/#method-2-creatordev-vm and install virtualbox, virtualbox extension pack and vagrant. Then:
# $ mkdir creatordev-sdk
# $ cd creatordev-sdk
# $ vagrant init CreatorDev/creatordev-vm
# $ vagrant up