Socket
Socket
Sign inDemoInstall

github.com/networkteam/obfuscate

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/networkteam/obfuscate


Version published

Readme

Source

obfuscate: Go functions for obfuscating sensitive data

GoDoc Build Status Go Report Card

Features

  • Mask email addresses

Scope

Log personal data like email addresses for debugging purposes.

Limitations

You should not rely on this package for security. Sensitive data should not be stored or stored in a secure way in the first place.

Install

go get github.com/networkteam/obfuscate

Usage

package main

import (
	"fmt"

	"github.com/networkteam/obfuscate"
)

func main() {
	fmt.Println(obfuscate.EmailAddressPartially("john.doe@example.com"))
	// Output:
	// j*n.d*e@e*e.com
}

FAQs

Last updated on 06 Jan 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc