func GenerateEDVCompatibleID() (string, error) {
	return generateEDVCompatibleID(rand.Read)
}
GenerateEDVCompatibleID generates an EDV compatible ID using a cryptographically secure random number generator.
package edvutils
import (
	"crypto/rand"
	"encoding/base64"
	"encoding/json"
	"errors"
	"fmt"
	"net/url"
	"github.com/btcsuite/btcutil/base58"
	"github.com/google/uuid"
	"github.com/trustbloc/edv/pkg/restapi/messages"
	"github.com/trustbloc/edv/pkg/restapi/models"
)
const (
	jweAlgField = "alg"
	none        = "none"
)
type generateRandomBytesFunc func([]byte) (int, error)