What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-12 17:43:19
nodejs encrypt text with key
const crypto = require('crypto'); const algorithm = 'aes-256-ctr'; const secretKey = 'vOVH6sdmpNWjRRIqCc7rdxs01lwHzfr3'; const iv = crypto.randomBytes(16); const encrypt = (text) => { const cipher = crypto.createCipheriv(algorithm, secretKey, iv... Add solution -
Other 2021-11-11 06:52:12
pyqt double left click table row
connect(dataTabView_, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(slotRowDoubleClicked(const QModelIndex &))); void ABED::rowDoubleClicked(const QModelIndex index){ / / Get a row through the Model QModelIndex index = ui->tabl... Add solution