I hereby claim:
- I am jordanbtucker on github.
- I am jordanbtucker (https://keybase.io/jordanbtucker) on keybase.
- I have a public key whose fingerprint is 4276 5DD0 DA7A 832C A48A 5ADB 12B0 D328 B7B6 541D
To claim this, I am signing this object:
Date | |
= FourDigits '-' TwoDigits '-' TwoDigits 'T' TwoDigits ':' TwoDigits ':' TwoDigits { return new Date(text()) } | |
FourDigits | |
= Digit Digit Digit Digit | |
TwoDigits | |
= Digit Digit | |
Digit |
#include "pch.h" | |
#include <windows.h> | |
#include <bthsdpdef.h> | |
#include <bthdef.h> | |
#include <BluetoothAPIs.h> | |
#include <strsafe.h> | |
#include <tchar.h> | |
#pragma comment(lib, "Bthprops.lib") |
// Type definitions for @feathersjs/feathers 3.1 | |
// Project: http://feathersjs.com/ | |
// Definitions by: Jan Lohage <https://github.com/j2L4e> | |
// Abraao Alves <https://github.com/AbraaoAlves> | |
// Tim Mensch <https://github.com/TimMensch> | |
// Definitions: https://github.com/feathersjs-ecosystem/feathers-typescript | |
// TypeScript Version: 2.3 | |
/// <reference types="node" /> |
/* | |
MIT License | |
Copyright (c) 2019 Jordan Tucker | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
I hereby claim:
To claim this, I am signing this object:
var JSON5 = | |
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { |
// Endpoint info excluded. | |
TcpClient client = new TcpClient(); | |
var stream = client.GetStream(); | |
// Assume pre-shared keys are used and set at this point. | |
AesManaged aes = new AesManaged(); | |
var aesEncryptor = aes.CreateEncryptor(); | |
CryptoStream aesStream = new CryptoStream( | |
stream, aesEncryptor, CryptoStreamMode.Write); |
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.rulers": [ | |
80 | |
], | |
"editor.insertSpaces": false, | |
"editor.minimap.enabled": true, | |
"editor.renderWhitespace": "boundary", | |
"workbench.welcome.enabled": false, | |
"window.reopenFolders": "none", |
// The following code attempts to decrypt a filename encrypted by odrive. It | |
// fails when attempting to remove PKCS#7 padding from the plaintext. | |
const crypto = require('crypto') | |
// The original filename is `test.txt`. It was encrypted with odrive using the | |
// following password. | |
const password = 'password123' | |
const filename = 'MaUi8C8YFNhN5dzbjNtqgXx3Cm-PwyUYxR1Rl4JauHHrjrTMo0k9poE=' |
/** | |
* ThingWorx EncryptionServices.DecryptWithKey. | |
* @module thingworx-decrypt | |
* @author Jordan Tucker <[email protected]> | |
*/ | |
var crypto = require('crypto') | |
/** | |
* Decrypts data encrypted using ThingWorx's EncryptionServices.EncryptWithKey |