private byte[] encryptPdu(@NonNull final byte[] lowerTransportPdu,
                              @NonNull final byte[] encryptionKey,
                              @NonNull final byte[] nonce,
                              final int dst,
                              final int micLength) {
        //Adding the destination address on network layer
        final byte[] unencryptedNetworkPayload = ByteBuffer.allocate(2 + lowerTransportPdu.length).order(ByteOrder.BIG_ENDIAN)
                .putShort((short) dst)
                .put(lowerTransportPdu).array();
        //Network layer encryption
        return SecureUtils.encryptCCM(unencryptedNetworkPayload, encryptionKey, nonce, micLength);
    }
Encrypts the pdu

@param lowerTransportPdu lower transport pdu to be encrypted
@param encryptionKey     Encryption key
@param nonce             nonce depending on the pdu type
@param dst               Destination address
@param micLength         Message integrity check length
mesh/src/main/java/no/nordicsemi/android/mesh/transport/NetworkLayer.java