base64url-universal

WebJar for base64url-universal

License

License

BSD 3-Clause
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

base64url-universal
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

base64url-universal
WebJar for base64url-universal
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/digitalbazaar/base64url-universal

Download base64url-universal

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/base64url-universal/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>base64url-universal</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/base64url-universal/
implementation 'org.webjars.npm:base64url-universal:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/base64url-universal/
implementation ("org.webjars.npm:base64url-universal:1.0.0")
'org.webjars.npm:base64url-universal:jar:1.0.0'
<dependency org="org.webjars.npm" name="base64url-universal" rev="1.0.0">
  <artifact name="base64url-universal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='base64url-universal', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "base64url-universal" % "1.0.0"
[org.webjars.npm/base64url-universal "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : base64url jar [3.0.0,4)

Project Modules

There are no modules declared in this project.

base64url-universal

Encode/Decode input according to the "Base64url Encoding" format as specified in JSON Web Signature (JWS) RFC7517. A URL safe character set is used and trailing '=', line breaks, whitespace, and other characters are omitted.

encode(input) ⇒ string

Encodes input according to the "Base64url Encoding" format as specified in JSON Web Signature (JWS) RFC7517. A URL safe character set is used and trailing '=', line breaks, whitespace, and other characters are omitted.

Kind: Exported function
Returns: string - the encoded value.

Param Type Description
input Uint8Array | string the data to encode.

decode(input) ⇒ Uint8Array

Decodes input according to the "Base64url Encoding" format as specified in JSON Web Signature (JWS) RFC7517. A URL safe character set is used and trailing '=', line breaks, whitespace, and other characters are omitted.

Kind: Exported function
Returns: Uint8Array - the decoded value.

Param Type Description
input string the data to decode.
org.webjars.npm

Digital Bazaar, Inc.

Versions

Version
1.0.0