Skip to content

Instantly share code, notes, and snippets.

View phpor's full-sized avatar

李俊杰 phpor

View GitHub Profile
@phpor
phpor / public_decrypt.go
Created September 8, 2014 11:40
public decrypt in Go
package rsa
import (
"errors"
"math/big"
"crypto/rsa"
"encoding/pem"
"crypto/x509"
)
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>