gitlab.com/hartsfield/slicerip (go): slicerip is a Go package for ripping slices out of strings for comparison to encrypted data.  The purpose of this package is for use in crypto tests to try to find obvious encryption errors. Many encryption methods require the data to be encrypted in blocks. Go uses different mode implementations to encrypt blocks of data in streams. This package rips substrings out of strings of data and returns them in an array that can be used with `strings.Contains` to check the encrypted data for portions of the original data.  ///////////////////////////////////////////////////// // Example Usage: /////////////////////////////////// // (See the test package for even better examples) // /////////////////////////////////////////////////////  package main  import (  )  var (  )  Package slicerip is a tool used for ripping slices out of strings so that they can be tested against encrypted data to programmatically ensure that the data was properly encrypted. It's mainly for use in tests of crypto code.
Keywords: crypto|encryption|go|golang|gopher|lexicography