1
0
Fork 0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2024-12-28 18:34:21 +00:00
Picocrypt/src
2021-12-16 17:09:43 -05:00
..
snap/gui Bump to 1.21 2021-11-16 18:45:58 -05:00
unstable Begin v1.21 2021-11-16 18:43:08 -05:00
font.ttf Prepare for v1.18 2021-09-24 20:29:22 -04:00
go.mod Update go modules 2021-12-16 17:09:43 -05:00
go.sum Update go modules 2021-12-16 17:09:43 -05:00
icon.png Optimize icon size 2021-11-12 12:19:22 -05:00
Picocrypt.go Test again 2021-12-14 21:47:48 -05:00
README.md Remove unnecessary Linux dependencies 2021-12-15 17:15:18 -05:00
snapcraft.yaml Remove unnecessary Linux dependencies 2021-12-15 17:17:41 -05:00
strings.json Add files via upload 2021-09-26 13:33:30 -04:00

Running From Source

If you would like to run Picocrypt from source, or an executable isn't available for your platform, you've come to the right place. Running from source is very simple, and I've made it even easier with these straightforward instructions. Unlike VeraCrypt, which requires complex build procedures, SDKs, and assemblers, Picocrypt can easily be compiled from source with only a Go and C compiler. All you need is ten minutes and an Internet connection.

1. Prerequisites

Linux:

apt install -y gcc libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libxxf86vm-dev libgtk-3-dev libglu1-mesa xclip

macOS:

xcode-select --install

Windows: A C compiler, ideally TDM-GCC

2. Install the Go Programming Language

If you don't have Go installed, download the corresponding installer for Go from here, or from your package manager (apt install golang-go). The latest version of Go is recommended.

3. Get the Source Files

Download the source files as a zip from the homepage or git clone this repository. Next, navigate to the src/ directory, where you will find the source file (Picocrypt.go).

4. Build From Source

Finally, build Picocrypt from source:

  • Windows: go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go
  • macOS: go build -ldflags "-s -w" Picocrypt.go
  • Linux: go build -ldflags "-s -w" Picocrypt.go

5. Done!

You should now see a compiled executable (Picocrypt.exe/Picocrypt) in your directory. You can run it by double-clicking or executing it in your terminal. That wasn't too hard, right? Enjoy!