Giter Site home page Giter Site logo

Comments (16)

Gurenduben avatar Gurenduben commented on July 4, 2024

I used to be able to use the code but it’s hard to compile sometimes

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

Had a little trouble compiling them myself (took me 72hrs to figure it out. I'm a bit new to Go, and a lot of changes have been made to the packages used to write the program. However if you use Go version 1.15, Mingw version 5.1.0, you can build as instructed.

I have made a repository with the binaries though: https://github.com/fredsta98/keys-generator-binaries

from keys-generator.

alexander-sil avatar alexander-sil commented on July 4, 2024

Had a little trouble compiling them myself (took me 72hrs to figure it out. I'm a bit new to Go, and a lot of changes have been made to the packages used to write the program. However if you use Go version 1.5, Mingw version 5.1.0, you can build as instructed.

I have made a repository with the binaries though: https://github.com/fredsta98/keys-generator-binaries

Thank you for publishing the binaries. BTW I appreciate your portfolio.

Yours,
alexander-sil

from keys-generator.

alexander-sil avatar alexander-sil commented on July 4, 2024

I will open a new issue (in @fredsta98's repo) in case the binaries cease to work somehow.

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

Had a little trouble compiling them myself (took me 72hrs to figure it out. I'm a bit new to Go, and a lot of changes have been made to the packages used to write the program. However if you use Go version 1.5, Mingw version 5.1.0, you can build as instructed.
I have made a repository with the binaries though: https://github.com/fredsta98/keys-generator-binaries

Thank you for publishing the binaries. BTW I appreciate your portfolio.

Yours, alexander-sil

Thanks @alexander-sil, I'm working on a few other projects I'll make public soon, hope you'll find them handy, also yes you can post new issues in that repo, I've added the binaries that generate more keys as well, 10,000 keys/page, 100,000 keys/page, and 1,000,000 keys/page. Please note the max number of pages changes with the number of keys being generated per page, it's a pretty simple calculation though.

from keys-generator.

Gurenduben avatar Gurenduben commented on July 4, 2024

Had a little trouble compiling them myself (took me 72hrs to figure it out. I'm a bit new to Go, and a lot of changes have been made to the packages used to write the program. However if you use Go version 1.5, Mingw version 5.1.0, you can build as instructed.
I have made a repository with the binaries though: https://github.com/fredsta98/keys-generator-binaries

Thank you for publishing the binaries. BTW I appreciate your portfolio.
Yours, alexander-sil

Thanks @alexander-sil, I'm working on a few other projects I'll make public soon, hope you'll find them handy, also yes you can post new issues in that repo, I've added the binaries that generate more keys as well, 10,000 keys/page, 100,000 keys/page, and 1,000,000 keys/page. Please note the max number of pages changes with the number of keys being generated per page, it's a pretty simple calculation though.

is it the number of private keys divided by the keys per page?

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

Yes it is.

Nothing more to it really, however depending on your hardware these do take some time to generate. Max my hardware is best for is a million per page which it does in 15 seconds. Over a period of 6 hours the 1 million/page version one generates more than the 100,000/page, 10,000/page or the 128/page binaries. It seems more efficient to generate a larger amount of keys per page depending on your use case of course...

from keys-generator.

Gurenduben avatar Gurenduben commented on July 4, 2024

Had a little trouble compiling them myself (took me 72hrs to figure it out. I'm a bit new to Go, and a lot of changes have been made to the packages used to write the program. However if you use Go version 1.5, Mingw version 5.1.0, you can build as instructed.

I have made a repository with the binaries though: https://github.com/fredsta98/keys-generator-binaries

how were you able to compile these using mingw?

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

Yes, so when building a Go project, because Go is built with C you need mingw to be able to build the source, but for this project only on certain versions, versions > 5.1.0 kept giving me errors. I had to get rid of my entire setup and reinstall all the specific versions. I figured the Go version based on the year the repo had its first commit, the rest was simply digging into how Go worked then, there's tons of documentation on this. Then I had to figure out how to get the old versions of the packages used to build the program aside from a few errors with the sec256 libraries everything ran as instructed.

  1. git clone https://github.com/SjorsO/keys-generator.git
  2. cd keys-generator
  3. go get
  4. go build this will build for whatever machine you're running but you can compile for mac and linux too using:

Linux:
GOOS=linux GOARCH=amd64 go build -o keys-generator-linux-amd64

Windows:
GOOS=windows GOARCH=amd64 go build -o keys-generator-windows-128-amd64.exe you can replace 64 with 32 for 32 bit systems

Mac:
GOOS=darwin GOARCH=amd64 go build -o keys-generator-mac-amd64-darwin for some reason Mac can only be built for 64 bit architecture.

Let me know if this helps or I can help with something else.

The code is pretty straight forward, My Go is rudimentary, but I can follow along, I'm even looking into building a version that goes with a python script to do the smart version of the dumb thing people build web scrappers for keys.lol site are...

Anyway I'm not sure the guy still maintains the repo but I'm happy to help with any questions... Might even create a branch with both the backend and frontend for keys.lol for those interested. I'm using it as an opportunity to learn more about crypto and web dev, a little about cryptography too.

from keys-generator.

Gurenduben avatar Gurenduben commented on July 4, 2024

g
im trying to compile my version because i made a few modifications but its not workng when i use go get

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

Hi @Gurenduben, can you try installing Go 1.18, clearing your Go downloaded packages cache with: go ​clean -modcache

Then completely delete the current repo you cloned, clone it again and run the following commands:

  1. go mod init
  2. go get
  3. go build

For some reason I noticed the original developer didn't include the "mod" file which tells Go what packages to install. The commands above should fix that, fixed it for me anyway... Let me know if this works.

I've also made a repository - https://github.com/fredsta98/keys-generator-fix with instruction on how to install and run my version of the source with the fixes. Feel free to check it out. That might be an easier way to run the code.

from keys-generator.

Gurenduben avatar Gurenduben commented on July 4, 2024

Hi @Gurenduben, can you try installing Go 1.18, clearing your Go downloaded packages cache with: go ​clean -modcache

Then completely delete the current repo you cloned, clone it again and run the following commands:

  1. go mod init
  2. go get
  3. go build

For some reason I noticed the original developer didn't include the "mod" file which tells Go what packages to install. The commands above should fix that, fixed it for me anyway... Let me know if this works.

I've also made a repository - https://github.com/fredsta98/keys-generator-fix with instruction on how to install and run my version of the source with the fixes. Feel free to check it out. That might be an easier way to run the code.

thanks ill let you know the outcome

from keys-generator.

Gurenduben avatar Gurenduben commented on July 4, 2024

huh

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

With old versions of Go, you needed to run from directory: C:\Users\USER\go\src. Its unlike the new version of Go where you can install packages and build from anywhere inside or outside the directory. I specified that step for a reason, I ran into the same error when I was trying to build, that's the fix.

from keys-generator.

Gurenduben avatar Gurenduben commented on July 4, 2024

Had a little trouble compiling them myself (took me 72hrs to figure it out. I'm a bit new to Go, and a lot of changes have been made to the packages used to write the program. However if you use Go version 1.5, Mingw version 5.1.0, you can build as instructed.

I have made a repository with the binaries though: https://github.com/fredsta98/keys-generator-binaries

Do you mean go 1.15?

from keys-generator.

fredsta98 avatar fredsta98 commented on July 4, 2024

from keys-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.