Skip to content

Instantly share code, notes, and snippets.

@xvonabur
xvonabur / sha256-hmac.md
Created May 8, 2020 07:50 — forked from jasny/sha256-hmac.md
Hashing examples in different languages

Example inputs:

Variable Value
key the shared secret key here
message the message to hash here

Reference outputs for example inputs above:

| Type | Hash |

@xvonabur
xvonabur / keybase.md
Last active January 2, 2020 13:26
keybase

Keybase proof

I hereby claim:

  • I am xvonabur on github.
  • I am xvonabur (https://keybase.io/xvonabur) on keybase.
  • I have a public key ASDwpS_C31w2Cj5qFsPSK_zeIcLg9beXea3TUoOGC5JboQo

To claim this, I am signing this object:

@xvonabur
xvonabur / App.js
Last active March 15, 2019 12:37
Example of App.js for wix react-native-navigation v1
import { Navigation } from 'react-native-navigation'
import { Platform } from 'react-native'
import { iconsMap, iconsLoaded } from '../Images/VectorIcons'
const startApp = () => {
iconsLoaded.then(() =>
Navigation.startSingleScreenApp({
screen: {
screen: 'MainScreen',
navigatorButtons: {
@xvonabur
xvonabur / Actual output
Created August 19, 2016 13:29
XML signature problem
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsse:Security soap:actor="http://smev.gosuslugi.ru/actors/smev" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId">MIIIRzCCB/agAwIBAgIKSchnBgAAAAGKvDAIBgYqhQMCAgMwggFOMRgwFgYFKoUDZAESDTEwMjc3MDcwMTM4MDYxGjAYBggqhQMDgQMBARIMMDA3NzA3MzE0MDI5MTwwOgYDVQQJDDPQkS7QodGD0YXQsNGA0LXQstGB0LrQuNC5INC/0LXRgCzQtDExLNGB0YLRgDEs0L7RhDYxIzAhBgkqhkiG9w0BCQEWFGUtbW9za3ZhQGUtbW9