Jump to navigation

Namespace: download

Numbas.download

Methods

(static) download_file(contents)

Dynamically creates and enacts a download link for a provided file. This is necessary if the contents of the file can change after the button is loaded but before it is clicked

Parameters:
Name Type Description
contents string
Source:

(static) encrypt()

Derive a key from a password supplied by the user, and use the key to encrypt the message. Update the "ciphertextValue" box with a representation of part of the ciphertext.

Source: