@@ -1811,34 +1811,14 @@ floating point number.
1811
1811
Values lower than 1.0 can be dangerous and should be used carefully.
1812
1812
.El
1813
1813
.\" ------------------------------------
1814
- .It Cm encode Oo Fl -decode Oc Oo Ar value Oc Oo Ar passphrase Oc Oo Fl -list-ciphers Oc Oo Fl -list-hashes Oc Oo Fl -cipher Ar cipher Oc Oo Fl -hash Ar hash Oc Op Fl -iterations Ar iterations
1814
+ .It Cm encode Ar value Ar passphrase Oo Fl -cipher Ar cipher Oc Oo Fl -hash Ar hash Oc Op Fl -iterations Ar iterations
1815
1815
.Bl -tag -width Ds
1816
- .It Fl -decode
1817
- Flag to decrypt the input value.
1818
- .Pp
1819
- For example:
1820
- .sp
1821
- .Dl rabbitmqctl encode --decode '{encrypted,<<"...">>}' mypassphrase
1822
1816
.It Ar value Ar passphrase
1823
- Value to encrypt/decrypt and passphrase.
1817
+ Value to encrypt and passphrase.
1824
1818
.Pp
1825
1819
For example:
1826
1820
.sp
1827
1821
.Dl rabbitmqctl encode '<<"guest">>' mypassphrase
1828
- .sp
1829
- .Dl rabbitmqctl encode --decode '{encrypted,<<"...">>}' mypassphrase
1830
- .It Fl -list-ciphers
1831
- Flag to list the supported ciphers.
1832
- .Pp
1833
- For example:
1834
- .sp
1835
- .Dl rabbitmqctl encode --list-ciphers
1836
- .It Fl -list-hashes
1837
- Flag to list the supported hash algorithms.
1838
- .Pp
1839
- For example:
1840
- .sp
1841
- .Dl rabbitmqctl encode --list-hashes
1842
1822
.It Fl -cipher Ar cipher Fl -hash Ar hash Fl -iterations Ar iterations
1843
1823
Options to specify the encryption settings.
1844
1824
They can be used independently.
@@ -1848,14 +1828,21 @@ For example:
1848
1828
.Dl rabbitmqctl encode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 '<<"guest">>' mypassphrase
1849
1829
.El
1850
1830
.\" ------------------------------------
1851
- .It Cm decode Ar value Ar passphrase
1831
+ .It Cm decode Ar value Ar passphrase Oo Fl -cipher Ar cipher Oc Oo Fl -hash Ar hash Oc Op Fl -iterations Ar iterations
1852
1832
.Bl -tag -width Ds
1853
1833
.It Ar value Ar passphrase
1854
1834
Value to decrypt (as produced by the encode command) and passphrase.
1855
1835
.Pp
1856
1836
For example:
1857
1837
.sp
1858
1838
.Dl rabbitmqctl decode '{encrypted, <<"...">>}' mypassphrase
1839
+ .It Fl -cipher Ar cipher Fl -hash Ar hash Fl -iterations Ar iterations
1840
+ Options to specify the decryption settings.
1841
+ They can be used independently.
1842
+ .Pp
1843
+ For example:
1844
+ .sp
1845
+ .Dl rabbitmqctl decode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 '{encrypted,<<"...">>} mypassphrase
1859
1846
.El
1860
1847
.\" ------------------------------------
1861
1848
.It Cm list_hashes
0 commit comments