# Scheme switching from BinFHE to BGV/CKKS

**URL:** <https://openfhe.discourse.group/t/scheme-switching-from-binfhe-to-bgv-ckks/1139>\
**Category:** Library Questions\
**Created:** [March 18, 2024, 2:32am UTC](https://openfhe.discourse.group/t/scheme-switching-from-binfhe-to-bgv-ckks/1139 "2024-03-18T02:32:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumw](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@sumw](https://openfhe.discourse.group/u/sumw)\
**Post date:** [March 18, 2024, 2:32am UTC](https://openfhe.discourse.group/t/scheme-switching-from-binfhe-to-bgv-ckks/1139/1 "2024-03-18T02:32:16Z")

</div>

There is a lot of discussion on switching from CKKS to BinFHE for sign evaluation. I am doing a project that requires a dot product between two ciphertexts as part of the program.  
Is it possible to do scheme switching from BinFHE to BGV/CKKS for real number/integer calculation?  
For instance,  
with 5 BinFHE ciphertext [a][b][c][d][e], can I do scheme switching to transfer them into a ciphertext vector [a,b, c, d,e] in BGV/CKKS and perform operations on it?  
Thanks

---

<div class="post-metadata">

**Author:** ![andreea.alexandru](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/andreea.alexandru/32/378_2.png) [@andreea.alexandru](https://openfhe.discourse.group/u/andreea.alexandru)\
**Post date:** [March 18, 2024, 12:35pm UTC](https://openfhe.discourse.group/t/scheme-switching-from-binfhe-to-bgv-ckks/1139/2 "2024-03-18T12:35:32Z")

</div>

Yes, this is possible. See [openfhe-development/src/pke/examples/SCHEME\_SWITCHING\_CAPABILITY.md at main · openfheorg/openfhe-development · GitHub](https://github.com/openfheorg/openfhe-development/blob/main/src/pke/examples/SCHEME_SWITCHING_CAPABILITY.md) for a description of switching from BinFHE to CKKS and the conditions required for this.
