You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/lambda-yu/cryptography

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/lambda-yu/cryptography

v0.0.0-20210401054331-c9c7b63305e4
Source
Go
Version published
Created
Source

Cryptography

一些常用加密方法的python实现 和 golang实现 以及python调用的golang方法

python调用goalng构建方法

$ go build -buildmode=c-shared -o XXXXXX.so XXXXXX.go
from ctypes import cdll
# 导入模块
# lib = CDLL('./XXXXXX.so')
lib = cdll.LoadLibrary('./XXXXXX.so')

# 调用模块中的函数
result = lib.add(2, 3)

FAQs

Package last updated on 01 Apr 2021

Did you know?

Socket

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.

Install

Related posts