# getPassphrase

_Returns the passphrase._

## Type

```ts
;() => string
```

### Return Value

The passphrase.

## Description

The passphrase can be set in the `Computer` constructor. It defaults to an empty string.

## Example

:::code source="../../../lib/test/lib/computer/get-passphrase.test.ts" :::

<a href="https://github.com/bitcoin-computer/monorepo/blob/main/packages/lib/test/lib/computer/get-passphrase.test.ts" target=_blank>Source</a>
