func (f Fingerprint) String() string {
	return fmt.Sprintf(
		"%s %s",
		common.SubtleIndigoFg(strings.ToUpper(f.Algorithm)),
		common.IndigoFg(f.Type+":"+f.Value),
	)
}
String outputs a string representation of the fingerprint.
package charm
import (
	"crypto/sha256"
	"encoding/base64"
	"errors"
	"fmt"
	"strings"
	"time"
	"github.com/calmh/randomart"
	"github.com/charmbracelet/charm/ui/common"
)
var ErrMalformedKey = errors.New("malformed key; is it missing the algorithm type at the beginning?")
type Fingerprint struct {
	Algorithm string
	Type      string
	Value     string
}