all repos — captcha @ d36aa1f342df1c83a78ffb1b37d3760eea13c626

Go package captcha implements generation and verification of image and audio CAPTCHAs.

cmd/main.go (view raw)

 1package main
 2
 3import (
 4	"github.com/dchest/captcha"
 5	"os"
 6)
 7
 8func main() {
 9	img, _ := captcha.NewRandomImage(captcha.StdLength, captcha.StdWidth, captcha.StdHeight)
10	img.PNGEncode(os.Stdout)
11}