> faulty system (and correct it!), then you'd have to find code which does
> the ECB mode, or write an ECB mode yourself.
>
>
>
> On Tue, Sep 12, 2017 at 4:48 PM Jason Wang > wrote:
>
>> I have a python function:
>>
>> import from Crypto.Ci
I have a python function:
import from Crypto.Cipher import Blowfish
import binascii
def decrypt_password(encode):
key = 'aa11k55544332211aabbaabbaaddccbb'
blowfish = Blowfish.new(key, Blowfish.MODE_ECB)
packed_password = blowfish.decrypt(binascii.unhexlify(encode))
return pac
I have the following two files:
// hello.go
package main
import (
"fmt"
)
func Hello() {
fmt.Println("hello")
}
func main() {}
build as plugin: `go build -buildmode=plugin hello.go`
// main.go
package main
import (
"log"
"plugin"
"time"
)
func main() {
for {
log.Println("start load plugin.